package com.commerce.service;

import com.commerce.common.WXJsonResult;
import com.commerce.model.User;

import javax.servlet.http.HttpSession;

/**
 * @author wyj
 * @Title:
 * @Description:
 */
public interface UserService extends BeanService<User>{

    /**
     * 登录小程序，获取用户数据
     * @param user
     * @param code
     * @return
     */
    WXJsonResult login(String code, HttpSession session);
}
